const { clipboard } = require('electron')

const handleExecuteCopy = (content) => {
    clipboard.writeText(content)
    return clipboard.readText()
}

const handleClearCopy = () => {
    clipboard.clear()
}

module.exports = {
    handleExecuteCopy,
    handleClearCopy
}